.class Lcom/waiqin365/compons/c/k;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/amap/api/location/AMapLocationListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/compons/c/g;


# direct methods
.method private constructor <init>(Lcom/waiqin365/compons/c/g;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/waiqin365/compons/c/g;Lcom/waiqin365/compons/c/h;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/compons/c/k;-><init>(Lcom/waiqin365/compons/c/g;)V

    return-void
.end method


# virtual methods
.method public onLocationChanged(Lcom/amap/api/location/AMapLocation;)V
    .locals 8

    const-wide/32 v6, 0x493e0

    const/4 v4, 0x1

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->a(Lcom/waiqin365/compons/c/g;)I

    if-eqz p1, :cond_4

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "WqLocation:\u9ad8\u5fb7\u5b9a\u4f4d\u7b2c"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->b(Lcom/waiqin365/compons/c/g;)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\u6b21\u72b6\u6001\u7801 "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getErrorCode()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "&&\u4fe1\u606f"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->b(Ljava/lang/String;)V

    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getTime()J

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Ljava/util/Date;->setTime(J)V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u7b2c"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v2}, Lcom/waiqin365/compons/c/g;->b(Lcom/waiqin365/compons/c/g;)I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "\u6b21\u9ad8\u5fb7\u8fd4\u56de\u65f6\u95f4\uff1a"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/util/Date;->toLocaleString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/d;->b(Ljava/lang/String;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Ljava/util/Date;->setTime(J)V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u7b2c"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v2}, Lcom/waiqin365/compons/c/g;->b(Lcom/waiqin365/compons/c/g;)I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "\u6b21\u7cfb\u7edf\u5f53\u524d\u65f6\u95f4\uff1a"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/util/Date;->toLocaleString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->b(Ljava/lang/String;)V

    :goto_0
    if-eqz p1, :cond_1

    if-eqz p1, :cond_0

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getErrorCode()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    if-eqz p1, :cond_6

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getTime()J

    move-result-wide v2

    sub-long/2addr v0, v2

    cmp-long v0, v0, v6

    if-lez v0, :cond_6

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->c(Lcom/waiqin365/compons/c/g;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->b(Lcom/waiqin365/compons/c/g;)I

    move-result v0

    if-ne v0, v4, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    iget-boolean v0, v0, Lcom/waiqin365/compons/c/g;->d:Z

    if-eqz v0, :cond_2

    if-eqz p1, :cond_5

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getTime()J

    move-result-wide v2

    sub-long/2addr v0, v2

    cmp-long v0, v0, v6

    if-lez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->d(Lcom/waiqin365/compons/c/g;)Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "kaoqin_loc_g2b_timefail"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    :cond_2
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->l(Lcom/waiqin365/compons/c/g;)V

    :cond_3
    :goto_2
    return-void

    :cond_4
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "WqLocation:\u9ad8\u5fb7\u5b9a\u4f4d\u7b2c"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->b(Lcom/waiqin365/compons/c/g;)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\u6b21amapLocation\u4e3a\u7a7a "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->b(Ljava/lang/String;)V

    goto :goto_0

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->d(Lcom/waiqin365/compons/c/g;)Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "kaoqin_loc_g2b_fail"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_1

    :cond_6
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "WqLocation:\u9ad8\u5fb7\u5b9a\u4f4d\u7b2c"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->b(Lcom/waiqin365/compons/c/g;)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\u6b21\u7cbe\u5ea6"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getAccuracy()F

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    if-eqz v0, :cond_7

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getAccuracy()F

    move-result v0

    float-to-double v0, v0

    iget-object v2, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v2}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->f()D

    move-result-wide v2

    cmpg-double v0, v0, v2

    if-gez v0, :cond_9

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    new-instance v1, Lcom/waiqin365/compons/c/f;

    invoke-direct {v1}, Lcom/waiqin365/compons/c/f;-><init>()V

    invoke-static {v0, v1}, Lcom/waiqin365/compons/c/g;->a(Lcom/waiqin365/compons/c/g;Lcom/waiqin365/compons/c/f;)Lcom/waiqin365/compons/c/f;

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getLatitude()D

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/compons/c/f;->a(D)V

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getLongitude()D

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/compons/c/f;->b(D)V

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd HH:mm:ss"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    const-string/jumbo v1, "GMT+8"

    invoke-static {v1}, Ljava/util/TimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->setTimeZone(Ljava/util/TimeZone;)V

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getTime()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/compons/c/f;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    invoke-static {p1}, Lcom/waiqin365/base/login/d/g;->a(Lcom/amap/api/location/AMapLocation;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/c/f;->b(Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->hasAccuracy()Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getAccuracy()F

    move-result v1

    float-to-double v2, v1

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/compons/c/f;->c(D)V

    :cond_8
    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getProvider()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "gps"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    sget v1, Lcom/waiqin365/compons/c/f;->g:I

    iput v1, v0, Lcom/waiqin365/compons/c/f;->t:I

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getProvince()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_c

    const-string/jumbo v0, ""

    :goto_4
    iput-object v0, v1, Lcom/waiqin365/compons/c/f;->v:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getCity()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_d

    const-string/jumbo v0, ""

    :goto_5
    iput-object v0, v1, Lcom/waiqin365/compons/c/f;->w:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getCityCode()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_e

    const-string/jumbo v0, ""

    :goto_6
    iput-object v0, v1, Lcom/waiqin365/compons/c/f;->x:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getDistrict()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_f

    const-string/jumbo v0, ""

    :goto_7
    iput-object v0, v1, Lcom/waiqin365/compons/c/f;->y:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getStreet()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_10

    const-string/jumbo v0, ""

    :goto_8
    iput-object v0, v1, Lcom/waiqin365/compons/c/f;->z:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->d(Lcom/waiqin365/compons/c/g;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/waiqin365/compons/c/d;->a(Landroid/content/Context;)Z

    move-result v1

    iput-boolean v1, v0, Lcom/waiqin365/compons/c/f;->A:Z

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    iget-boolean v0, v0, Lcom/waiqin365/compons/c/f;->A:Z

    if-eqz v0, :cond_11

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    const-string/jumbo v1, "1"

    iput-object v1, v0, Lcom/waiqin365/compons/c/f;->x:Ljava/lang/String;

    :goto_9
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    sget v1, Lcom/waiqin365/compons/c/f;->d:I

    iput v1, v0, Lcom/waiqin365/compons/c/f;->u:I

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/f;->f()D

    move-result-wide v0

    const-wide/16 v2, 0x0

    cmpl-double v0, v0, v2

    if-lez v0, :cond_12

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/f;->f()D

    move-result-wide v0

    sget v2, Lcom/waiqin365/compons/c/g;->h:I

    int-to-double v2, v2

    cmpg-double v0, v0, v2

    if-gtz v0, :cond_12

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->c(Lcom/waiqin365/compons/c/g;)Z

    move-result v0

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->b(Lcom/waiqin365/compons/c/g;)I

    move-result v0

    if-ne v0, v4, :cond_a

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    iget-boolean v0, v0, Lcom/waiqin365/compons/c/g;->d:Z

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->d(Lcom/waiqin365/compons/c/g;)Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "kaoqin_loc_g_suc"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    :cond_a
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->g(Lcom/waiqin365/compons/c/g;)V

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->i(Lcom/waiqin365/compons/c/g;)V

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->h(Lcom/waiqin365/compons/c/g;)V

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->j(Lcom/waiqin365/compons/c/g;)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0, v4}, Lcom/waiqin365/compons/c/g;->a(Lcom/waiqin365/compons/c/g;Z)Z

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "WqLocation:\u5b9a\u4f4d\u56de\u8c03\u8fd4\u56de\u4f4d\u7f6e\u4fe1\u606f="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-wide v2, v1, Lcom/waiqin365/compons/c/f;->m:D

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-wide v2, v1, Lcom/waiqin365/compons/c/f;->n:D

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->q:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-wide v2, v1, Lcom/waiqin365/compons/c/f;->p:D

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->v:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->w:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->x:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->y:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->z:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget v1, v1, Lcom/waiqin365/compons/c/f;->t:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "|"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/fiberhome/gaea/client/d/k;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->k(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/l;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v1}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/waiqin365/compons/c/l;->a(Lcom/waiqin365/compons/c/f;)V

    goto/16 :goto_2

    :cond_b
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    sget v1, Lcom/waiqin365/compons/c/f;->h:I

    iput v1, v0, Lcom/waiqin365/compons/c/f;->t:I

    goto/16 :goto_3

    :cond_c
    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getProvince()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_4

    :cond_d
    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getCity()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_5

    :cond_e
    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getCityCode()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_6

    :cond_f
    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getDistrict()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_7

    :cond_10
    invoke-virtual {p1}, Lcom/amap/api/location/AMapLocation;->getStreet()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_8

    :cond_11
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->f(Lcom/waiqin365/compons/c/g;)Lcom/waiqin365/compons/c/f;

    move-result-object v0

    const-string/jumbo v1, "0"

    iput-object v1, v0, Lcom/waiqin365/compons/c/f;->x:Ljava/lang/String;

    goto/16 :goto_9

    :cond_12
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->c(Lcom/waiqin365/compons/c/g;)Z

    move-result v0

    if-eqz v0, :cond_13

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->b(Lcom/waiqin365/compons/c/g;)I

    move-result v0

    if-ne v0, v4, :cond_13

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    iget-boolean v0, v0, Lcom/waiqin365/compons/c/g;->d:Z

    if-eqz v0, :cond_13

    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->d(Lcom/waiqin365/compons/c/g;)Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "kaoqin_loc_g2b_acculow"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    :cond_13
    iget-object v0, p0, Lcom/waiqin365/compons/c/k;->a:Lcom/waiqin365/compons/c/g;

    invoke-static {v0}, Lcom/waiqin365/compons/c/g;->l(Lcom/waiqin365/compons/c/g;)V

    goto/16 :goto_2
.end method
